list=[1,3,5,4,13,7]
new_list=[]
def get_min(list):
    #获取列表最小值
    a=min(list)
    #删除最小值
    b=list.index(a)
    del(list[b])

    new_list.append(a)

    if len(list)>0:
        get_min(list)
        return new_list
new_list=get_min(list)
print(new_list)
